Repository navigation
tesla: regenerate plugin for SDKs with a separate OAuth auth server - #121
Merged
Merged
Conversation
The Tesla SDKs (TypeScript, Python, C#) were regenerated from a spec that no longer lists auth.tesla.com as a second top-level server. OAuth token and authorize requests now go to a dedicated authServer (https://auth.tesla.com/oauth2/v3) instead of the Fleet API host, and the ServerEnvironment selector is gone. The skills are regenerated against those SDKs so their facts match. Generated with `apimatic plugin generate`; the newer generator also adds a planner agent, a Codex manifest and a typescript-event-streams skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
An agent using the Tesla plugin had to step outside the SDK to call Tesla's OAuth token endpoint. The spec listed
https://auth.tesla.com/oauth2/v3as a second top-level server, so the importer bound the OAuth token/authorize URLs to an alternative environment of the Fleet API server. By default the SDK sent token requests tohttps://fleet-api.prd.na.vn.cloud.tesla.com/token, which does not exist; switching environments broke every API call.What changed
auth.tesla.comaddress, so the generator emits a separateauthServer.tesla-typescript-sdk@6f1f166,tesla-python-sdk@17d2ef8,tesla-csharp-sdk@9e7ee3c.ServerEnvironmentis gone (breaking).apimatic plugin generateagainst those SDKs, so the skills describeauthServerinstead ofEnvironment2. Version 0.3.1 → 0.4.0.scoped/agents/), a Codex manifest and atypescript-event-streamsskill. The integrate skills depend on the planner. NoteCLAUDE.mdstill says the repo has no agents.Verification
auth.tesla.com, API calls tofleet-api.audience, which the SDK cannot send (x-oauth2-token-paramsis not supported by the importer/generators).🤖 Generated with Claude Code